package com.ruoyi.hualian.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

/**
 * ERP系统BOM表批量导入功能生成Excel表
 * 材料
 *
 * @author hujian
 */
@Data
public class BomMaterial implements Serializable {

    /*
        对应ERP系统BOM表: 下级物料编码
     */
    @Excel(name = "商品编码")
    @ExcelProperty(value = "商品编码", index = 0)
    private String commodityCode;

    /*
        对应ERP系统BOM表: 下级物料名称
     */
    @Excel(name = "商品名称")
    @ExcelProperty(value = "商品名称", index = 1)
    private String commodityName;

    /*
        对应ERP系统BOM表: 下级物料规格
     */
    @Excel(name = "规格")
    @ExcelProperty(value = "规格", index = 2)
    private String specs;

    /*
        对应ERP系统BOM表: 下级物料型号
     */
    @Excel(name = "型号")
    @ExcelProperty(value = "型号", index = 3)
    private String type;

    /*
        对应ERP系统BOM表: 用量
     */
    @Excel(name = "用量")
    @ExcelProperty(value = "用量", index = 4)
    private String dosage;

    /*
        对应ERP系统BOM表: 单位
     */
    @Excel(name = "单位")
    @ExcelProperty(value = "单位", index = 5)
    private String unit;
}
